You are here: Statements and Functions > Units()
Syntax samples
UNITS(<location> or <resource>)
PAUSE "There are" $ UNITS(Res1) $ "Res1's in the system."
Returns the total units of a location or resource.
Any logic and any field except those evaluated before translation. For a list of fields evaluated before translation, see Appendix A.
Components
<location>
The name of the location to examine. You may substitute LOC() for the name of a location.
<resource>
The name of the resource to examine. You may substitute RES() for the name of a resource.
FREEUNITS() and RESQTY().